package net.linxuehua.server.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 表[food]对应实体类
 * 
 * @author codeGenerate 2021年01月13日 
 */
@Data
@TableName(value = "food")
@ApiModel(value = "表[food]的实体类")
public class Food {

    /**
     * 自增id
     */
    @ApiModelProperty(value = "自增id", dataType = "int")
    private int foodId;

    /**
     * 食材名称
     */
    @ApiModelProperty(value = "食材名称", dataType = "String")
    private String foodName;

    /**
     * 图片
     */
    @ApiModelProperty(value = "图片", dataType = "String")
    private String url;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", dataType = "String")
    private String description;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格", dataType = "int")
    private int price;

    /**
     * 食材数量
     */
    @ApiModelProperty(value = "食材数量", dataType = "int")
    private int foodNum;

}